package com.supermap.common.dao;

import com.supermap.common.entity.Suggestion;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author:langhongshuai
 * @Description:意见数据访问层
 * @Date:18/3/12 上午11:25
 */
@Mapper
public interface SuggestionDao {

    /**
     * 添加意见内容
     * @param comment
     */
    @Insert("Insert into t_suggestion(userId,comment) values(#{userId},#{comment});")
    public void saveSuggestion(@Param("comment")String comment,@Param("userId")String userId);
}
